package com.apes.fn.server.productRequireManage.model;

import com.alibaba.fastjson.JSONObject;
import com.apes.scm.masterdata.enumeration.model.Enumeration;
import lombok.Data;
import org.apache.commons.collections.map.HashedMap;

import java.util.Map;

@Data
public class ParameterTransfer {
    private String productId; // 商品编码
    private String commodiInquiry; // 询价单号
    private String requireSource; // 要货上游
    private double requireQty; // 要货数量
    private Enumeration settlementType; // 结算方式
    private JSONObject xjzxbData;

    private Map carrier = new HashedMap(); // 运营商缓存

    public ParameterTransfer(String productId, String commodiInquiry, String requireSource,
                             double requireQty, Enumeration settlementType, JSONObject xjzxbData) {
        this.productId = productId;
        this.commodiInquiry = commodiInquiry;
        this.requireSource = requireSource;
        this.requireQty = requireQty;
        this.settlementType = settlementType;
        this.xjzxbData = xjzxbData;
    }
}
